#space_line.py
like_space=['beijing','hangzhou','nanjing','chengdu','chongqing','alibaba']
print(like_space)
print(sorted(like_space))
print(like_space)
print(sorted(like_space,reverse=True))
#有关sorted的参数传递问题
like_space.reverse()
print(like_space)
like_space.reverse()
print(like_space)
like_space.sort()
print(like_space)
like_space.sort(reverse=True)
print(like_space)
print(len(like_space))
